﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using A2DFramework;
using A2DFramework.AOPService.Core;

namespace AOPTestConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            //while (true)
            //{
            //    MyBO proxy = A2DFramework.AOPService.ILProxyCreator<MyBO>.CreateProxy();
            //    string result = proxy.GetNow("test");
            //    Console.WriteLine(result);
            //}

            Starter.Init();

            AOPProcessorLoader.GetProcessors();

            Console.ReadKey();
        }
    }

    public class MyBO
    {
        public virtual string GetNow(string msg)
        {
            return string.Format("{0}: {1}", msg, DateTime.Now);
        }
    }
}
